package com.greate.community.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@TableName("user_info")
@Data
public class UserInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private int userId;
    private Integer sex;
    private String signature;
    private String phone;
    private String department;
    private String specialities;
    private Integer grade;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
